package edu.ynu.se.xiecheng.achitectureclass.common.repository;
import edu.ynu.se.xiecheng.achitectureclass.common.entity.Humidity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface HumidityRepository extends JpaRepository<Humidity, Long> {
    Optional<Humidity> findBySensorId(String sensorId);
}